<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <title>我要好发网 </title>
  <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  <meta name="Generator" content="EditPlus">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <link href="/www/css/a.css" rel="stylesheet" type="text/css"/>
  <script type="text/javascript" src="/www/js/jquery.js"></script>
  <script type="text/javascript" src="/www/js/w.js"></script>
 </head>

 <body>
	<div id="header" class="clearfix">
		<div class="lw">
			<div class="top clearfix">
				<a class="logo left" href="/">我要好发网</a>
				<a href="javascript:" onclick="addToFavorite()" title="加入收藏夹" class="favorite right">收藏我要好发网</a>
			</div>
			
		</div>
	</div>
	<div id="wrap" class="lw clearfix ab">
		<?if($success):?><div class="success" style="margin-left:100px;"><?=$success?></div><?endif?>
		<div class="form-error" style="margin-left:100px;"><?=$in_error?></div>
		<form action="/sign/in<?if(isset($url))echo '?url=' . $url;?>" method="post" class="form sign-left">

			<div class="form-item clearfix">
				<div class="form-left">
					登录
				</div>
				<div class="form-right">
					<div class="blue"><strong>请您用邮箱账号登录</strong></div>
					<div class="form-right-label">
						<label for="email">邮箱</label>
					</div>
					<div class="form-right-text <?if(form_error('password2')) echo 'error';else echo 'off';?>">
						<input type="text" class="text w1" id="email" name="email"/>
						<span class="form-border-right"></span>
					</div>
					<div class="form-error"><?=form_error('email','','');?></div>
				</div>
			</div>

			<div class="form-item clearfix">
				<div class="form-left clearfix">
				</div>
				<div class="form-right">
					<div class="form-right-label">
						<label for="password">密码</label>
					</div>
					<div class="form-right-text <?if(form_error('password')) echo 'error';else echo 'off';?>">
						<input type="password" class="text w1" id="password" name="password" />
						<span class="form-border-right"></span>
					</div>
					<div class="form-error"><?=form_error('password','','');?></div>
				</div>
			</div>

			
			<div class="form-item clearfix">
				<div class="form-left clearfix">
				</div>
				<div class="form-right">
					<input type="submit" class="button"value="登录" />
				</div>
			</div>
		</form>

		<div class="vertial"></div>

		<form action="/sign/up" method="post" class="form sign-right">
			<div class="form-error" style="margin-left:100px;"><?=$error;?></div>
			<div class="form-item clearfix">
				<div class="form-left">
					不是成员
				</div>
				<div class="form-right">
					<div class="blue"><strong>提交您的信息注册</strong></div>
					<div class="form-right-label">
						<label for="email2">邮箱</label>
					</div>
					
					<div class="form-right-text <?if(form_error('email2')) echo 'error';else echo 'off';?>">
						<input type="text" class="text w1" id="email22" name="email2"/>
						<span class="form-border-right"></span>
					</div>
					<div class="form-error"><?=form_error('email2','','');?></div>
				</div>
			</div>

			<div class="form-item clearfix">
				<div class="form-left clearfix">
				
				</div>
				<div class="form-right">
					<div class="blue"><strong>注册成功后不能修改密码！</strong></div>
					<div class="form-right-label">
						<label for="password2">密码</label>
					</div>
					<div class="form-right-text <?if(form_error('password2')) echo 'error';else echo 'off';?>">
						<input type="password" class="text w1" id="password2" name="password2" />
						<span class="form-border-right"></span>
					</div>
					<div class="form-error"><?=form_error('password2','','');?></div>
				</div>
			</div>

			<div class="form-item clearfix">
				<div class="form-left clearfix">
				</div>
				<div class="form-right">
					<div class="form-right-label">
						<label for="repw">确认密码</label>
					</div>
					<div class="form-right-text <?if(form_error('repw')) echo 'error';else echo 'off';?>">
						<input type="password" class="text w1" id="repw" name="repw" />
						<span class="form-border-right"></span>
					</div>
					<div class="form-error"><?=form_error('repw','','');?></div>
				</div>
			</div>

			<div class="form-item clearfix">
				<div class="form-left clearfix">
				
				</div>
				<div class="form-right">
					<div class="blue"><strong>注册成功后不能修改昵称！</strong></div>
					<div class="form-right-label">
						<label for="name">用于显示的昵称</label>
					</div>
					<div class="form-right-text <?if(form_error('name')) echo 'error';else echo 'off';?>">
						<input type="text" class="text w1" id="name" name="name"/>
						<span class="form-border-right"></span>
					</div>
					<div class="form-error"><?=form_error('name','','');?></div>
				</div>
			</div>

			<div class="form-item clearfix">
				<div class="form-left clearfix">
				</div>
				<div class="form-right">
					<input type="submit" class="button"value="注册" />
				</div>
			</div>
		</form>

	
	</div>
<?$this->load->view('footer.tpl');?>